<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        function JiShi() {
            var nowTime = new Date()
            var jiaTime = new Date("2025-10-1 00:00:00")
            var t = jiaTime - nowTime
            t = t/1000
         
            var d = parseInt( t/60/60/24)
            var h =  parseInt( t/60/60 % 24)
            var m =  parseInt( t/60%60)
            var s =  parseInt( t%60)

            var r ="<b>距离国庆放假还有</b>："+d + "天"+h+"小时"+m+"分钟"+s+"秒"
            document.write(r)
        }
        JiShi()

    </script>
</body>

</html>